package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.util.Date;

public class Message implements Serializable {
    /**
     * 主键id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 短信内容
     *
     * @mbg.generated
     */
    private String content;

    /**
     * 发送运营商类型 1-移动 2-电信 3-联通 4-三网/其他/未知
     *
     * @mbg.generated
     */
    private Integer operatorType;

    /**
     * 发送用户个数
     *
     * @mbg.generated
     */
    private Integer sendUserNum;

    /**
     * 发送成功数
     *
     * @mbg.generated
     */
    private Integer successNum;

    /**
     * 发送失败数
     *
     * @mbg.generated
     */
    private Integer failNum;

    /**
     * 定时发送时间
     *
     * @mbg.generated
     */
    private Date sendTime;

    /**
     * 发送状态 0-未执行 1-已执行
     *
     * @mbg.generated
     */
    private Integer sendStatus;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getOperatorType() {
        return operatorType;
    }

    public void setOperatorType(Integer operatorType) {
        this.operatorType = operatorType;
    }

    public Integer getSendUserNum() {
        return sendUserNum;
    }

    public void setSendUserNum(Integer sendUserNum) {
        this.sendUserNum = sendUserNum;
    }

    public Integer getSuccessNum() {
        return successNum;
    }

    public void setSuccessNum(Integer successNum) {
        this.successNum = successNum;
    }

    public Integer getFailNum() {
        return failNum;
    }

    public void setFailNum(Integer failNum) {
        this.failNum = failNum;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Integer getSendStatus() {
        return sendStatus;
    }

    public void setSendStatus(Integer sendStatus) {
        this.sendStatus = sendStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", content=").append(content);
        sb.append(", operatorType=").append(operatorType);
        sb.append(", sendUserNum=").append(sendUserNum);
        sb.append(", successNum=").append(successNum);
        sb.append(", failNum=").append(failNum);
        sb.append(", sendTime=").append(sendTime);
        sb.append(", sendStatus=").append(sendStatus);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}